package cc.linker.steplink.crm.dao;

import cc.linker.steplink.crm.domain.LabelRelation;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface LabelRelationDao {
    int insert(LabelRelation record);

    int insertAll(List list);

    int insertSelective(LabelRelation record);

    int deleteByLabelId(String labelId);

    int deleteByCustomerId(@Param(value="customerId") String customerId,@Param(value="labels") String labels);

    String getLabelsByCustomerId(String customerId);
}